<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>我的销售统计</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="/css/all.css"/>
    <link rel="stylesheet" href="/css/list7.css"/>
    <link rel="stylesheet" href="/css/rili.css"/>
    <script src="/js/laydate.js"></script>
    <script src="/js/laydate.dev.js"></script>
</head>
<body>
<div class="title">我的销售统计
    <div class="title_left"><a href="{{urlHome('index','getIndex')}}">返回</a></div>
</div>
<div class="main">
<form action="/order/count" method="post">
  <div class="main_top">
      <lable>起始日期：</lable>
      <p><input id="hello" name="start" class="laydate-icon"  type="text"/></p>
  </div>
    <div class="main_center">
        <lable>截止日期：</lable>
        <p><input id="hello1" name="end" class="laydate-icon" type="text"/></p>
    </div>
    <button type="submit" class="btn btn-info center-block">开始统计</button>
</form>
    @if(isset($num))
    <div class="reslute">
         <div class="count">总销售额:{{$num}}</div>
    </div>
    @endif
</div>

<script>
    laydate({
        elem: '#hello'
    });
    laydate({
        elem: '#hello1'
    });
</script>
</body>
</html>